/// 卡种类与卡分类信息
class WriteoffBatchQuoteCardRangeDto {
  /// 卡种类id
  final int cardTypeId;
  /// 卡分类id
  final int cardCategoryId;

  WriteoffBatchQuoteCardRangeDto({
    required this.cardTypeId,
    required this.cardCategoryId,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['cardTypeId'] = cardTypeId;
    data['cardCategoryId'] = cardCategoryId;
    return data;
  }

  factory WriteoffBatchQuoteCardRangeDto.fromJson(Map<String, dynamic> json) {
    return WriteoffBatchQuoteCardRangeDto(
      cardTypeId: json['cardTypeId'],
      cardCategoryId: json['cardCategoryId'],
    );
  }
}